Optimal. Leaf size=317 \[ -\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}-\frac{b c^{5/4} \log \left (\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{5 \sqrt{2} d^{7/2}}+\frac{b c^{5/4} \log \left (\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{5 \sqrt{2} d^{7/2}}-\frac{2 b c^{5/4} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}+\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}+1\right )}{5 d^{7/2}}+\frac{2 b c^{5/4} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{8 b c}{5 d^3 \sqrt{d x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.277762, antiderivative size = 317, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 14, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.778, Rules used = {6097, 16, 325, 329, 301, 297, 1162, 617, 204, 1165, 628, 298, 205, 208} \[ -\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}-\frac{b c^{5/4} \log \left (\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{5 \sqrt{2} d^{7/2}}+\frac{b c^{5/4} \log \left (\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{5 \sqrt{2} d^{7/2}}-\frac{2 b c^{5/4} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}+\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}+1\right )}{5 d^{7/2}}+\frac{2 b c^{5/4} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{8 b c}{5 d^3 \sqrt{d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 16
Rule 325
Rule 329
Rule 301
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rule 298
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}\left (c x^2\right )}{(d x)^{7/2}} \, dx &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{(4 b c) \int \frac{x}{(d x)^{5/2} \left (1-c^2 x^4\right )} \, dx}{5 d}\\ &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{(4 b c) \int \frac{1}{(d x)^{3/2} \left (1-c^2 x^4\right )} \, dx}{5 d^2}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{\left (4 b c^3\right ) \int \frac{(d x)^{5/2}}{1-c^2 x^4} \, dx}{5 d^6}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{\left (8 b c^3\right ) \operatorname{Subst}\left (\int \frac{x^6}{1-\frac{c^2 x^8}{d^4}} \, dx,x,\sqrt{d x}\right )}{5 d^7}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{\left (4 b c^2\right ) \operatorname{Subst}\left (\int \frac{x^2}{d^2-c x^4} \, dx,x,\sqrt{d x}\right )}{5 d^3}-\frac{\left (4 b c^2\right ) \operatorname{Subst}\left (\int \frac{x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{5 d^3}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{\left (2 b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1}{d-\sqrt{c} x^2} \, dx,x,\sqrt{d x}\right )}{5 d^3}-\frac{\left (2 b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1}{d+\sqrt{c} x^2} \, dx,x,\sqrt{d x}\right )}{5 d^3}+\frac{\left (2 b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{d-\sqrt{c} x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{5 d^3}-\frac{\left (2 b c^{3/2}\right ) \operatorname{Subst}\left (\int \frac{d+\sqrt{c} x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{5 d^3}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 b c^{5/4} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{2 b c^{5/4} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{\left (b c^{5/4}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{d}}{\sqrt [4]{c}}+2 x}{-\frac{d}{\sqrt{c}}-\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}-\frac{\left (b c^{5/4}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{d}}{\sqrt [4]{c}}-2 x}{-\frac{d}{\sqrt{c}}+\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}-\frac{(b c) \operatorname{Subst}\left (\int \frac{1}{\frac{d}{\sqrt{c}}-\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{d x}\right )}{5 d^3}-\frac{(b c) \operatorname{Subst}\left (\int \frac{1}{\frac{d}{\sqrt{c}}+\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{d x}\right )}{5 d^3}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 b c^{5/4} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{2 b c^{5/4} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{b c^{5/4} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}+\frac{b c^{5/4} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}-\frac{\left (\sqrt{2} b c^{5/4}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}+\frac{\left (\sqrt{2} b c^{5/4}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}\\ &=-\frac{8 b c}{5 d^3 \sqrt{d x}}-\frac{2 b c^{5/4} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}+\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{\sqrt{2} b c^{5/4} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{5 d (d x)^{5/2}}+\frac{2 b c^{5/4} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{5 d^{7/2}}-\frac{b c^{5/4} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}+\frac{b c^{5/4} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{5 \sqrt{2} d^{7/2}}\\ \end{align*}
Mathematica [A] time = 0.0857637, size = 275, normalized size = 0.87 \[ \frac{x \left (-4 a-2 b c^{5/4} x^{5/2} \log \left (1-\sqrt [4]{c} \sqrt{x}\right )+2 b c^{5/4} x^{5/2} \log \left (\sqrt [4]{c} \sqrt{x}+1\right )-\sqrt{2} b c^{5/4} x^{5/2} \log \left (\sqrt{c} x-\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )+\sqrt{2} b c^{5/4} x^{5/2} \log \left (\sqrt{c} x+\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )+2 \sqrt{2} b c^{5/4} x^{5/2} \tan ^{-1}\left (1-\sqrt{2} \sqrt [4]{c} \sqrt{x}\right )-2 \sqrt{2} b c^{5/4} x^{5/2} \tan ^{-1}\left (\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )-4 b c^{5/4} x^{5/2} \tan ^{-1}\left (\sqrt [4]{c} \sqrt{x}\right )-16 b c x^2-4 b \tanh ^{-1}\left (c x^2\right )\right )}{10 (d x)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 292, normalized size = 0.9 \begin{align*} -{\frac{2\,a}{5\,d} \left ( dx \right ) ^{-{\frac{5}{2}}}}-{\frac{2\,b{\it Artanh} \left ( c{x}^{2} \right ) }{5\,d} \left ( dx \right ) ^{-{\frac{5}{2}}}}-{\frac{bc\sqrt{2}}{10\,{d}^{3}}\ln \left ({ \left ( dx-\sqrt [4]{{\frac{{d}^{2}}{c}}}\sqrt{dx}\sqrt{2}+\sqrt{{\frac{{d}^{2}}{c}}} \right ) \left ( dx+\sqrt [4]{{\frac{{d}^{2}}{c}}}\sqrt{dx}\sqrt{2}+\sqrt{{\frac{{d}^{2}}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-{\frac{bc\sqrt{2}}{5\,{d}^{3}}\arctan \left ({\sqrt{2}\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-{\frac{bc\sqrt{2}}{5\,{d}^{3}}\arctan \left ({\sqrt{2}\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-{\frac{8\,bc}{5\,{d}^{3}}{\frac{1}{\sqrt{dx}}}}-{\frac{2\,bc}{5\,{d}^{3}}\arctan \left ({\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+{\frac{bc}{5\,{d}^{3}}\ln \left ({ \left ( \sqrt{dx}+\sqrt [4]{{\frac{{d}^{2}}{c}}} \right ) \left ( \sqrt{dx}-\sqrt [4]{{\frac{{d}^{2}}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.23702, size = 105, normalized size = 0.33 \begin{align*} -\frac{{\left (8 \, b c x^{2} + b \log \left (-\frac{c x^{2} + 1}{c x^{2} - 1}\right ) + 2 \, a\right )} \sqrt{d x}}{5 \, d^{4} x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 9.77957, size = 717, normalized size = 2.26 \begin{align*} -\frac{1}{10} \, b c^{3}{\left (\frac{2 \, \sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{d x}\right )}}{2 \, \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{4} d^{5}} + \frac{2 \, \sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{d x}\right )}}{2 \, \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{4} d^{5}} - \frac{2 \, \sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{d x}\right )}}{2 \, \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{4} d^{5}} - \frac{2 \, \sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{d x}\right )}}{2 \, \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{4} d^{5}} - \frac{\sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x + \sqrt{2} \sqrt{d x} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{\frac{d^{2}}{c}}\right )}{c^{4} d^{5}} + \frac{\sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x - \sqrt{2} \sqrt{d x} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{\frac{d^{2}}{c}}\right )}{c^{4} d^{5}} + \frac{\sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x + \sqrt{2} \sqrt{d x} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{-\frac{d^{2}}{c}}\right )}{c^{4} d^{5}} - \frac{\sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x - \sqrt{2} \sqrt{d x} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{-\frac{d^{2}}{c}}\right )}{c^{4} d^{5}}\right )} - \frac{\frac{b \log \left (-\frac{c d^{2} x^{2} + d^{2}}{c d^{2} x^{2} - d^{2}}\right )}{\sqrt{d x} d^{2} x^{2}} + \frac{2 \,{\left (4 \, b c d^{2} x^{2} + a d^{2}\right )}}{\sqrt{d x} d^{4} x^{2}}}{5 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]